package com.yq.cp.entity.manage;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 能源站信息
 * </p>
 *
 * @author zh
 * @since 2023-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_energy_mac")
public class EnergyMac extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 能源站id
     */
    private Long energyId;
    @TableField(exist = false)
    private String energyName;


    /**
     * 设备名称
     */
    private String macName;

    /**
     * 设备编号
     */
    private String code;


    //功率
    private BigDecimal rateOfWork;
    //直流功率
    private BigDecimal rateOfWorkDc;
    //温度
    private BigDecimal temperature;
    //湿度
    private BigDecimal humidity;
    //效率
    private BigDecimal efficiency;
    //状态:0-运行，1-停止
    private Integer operationState;

    //设备类型：1-逆变器 2-气象仪  3-电表
    private Integer type;


    /**
     * 审核人id
     */
    private Long auditId;

    /**
     * 审核人名称
     */
    private String auditName;

    /**
     * 审核状态 0-未审核 1-审核通过 2-审核未通过
     */
    private Integer auditState;

    /**
     * 审核意见
     */
    private String auditOpinion;
}
